package com.acme.exchange.network.proto;

import java.nio.channels.SelectionKey;

import com.acme.exchange.network.proto.Protocol.ExchangeMessage;


public class DefinedMessage {
	private SelectionKey key;
	private ExchangeMessage message;
	
	public SelectionKey getKey() {
		return key;
	}
	public void setKey(SelectionKey key) {
		this.key = key;
	}
	public ExchangeMessage getMessage() {
		return message;
	}
	public void setMessage(ExchangeMessage message) {
		this.message = message;
	}

}
